package com.fjec.activity.service;

import com.fjec.activity.entity.BizGiveGift;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fjec.activity.view.UserGiftVO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 002.赠送礼物表 服务类
 * </p>
 *
 * @author admin
 * @since 2020-09-18
 */
public interface IBizGiveGiftService extends IService<BizGiveGift> {

    int saveGivingGift(Long receId, String shopName, List<UserGiftVO> gifts, String content);

    List<Map<String, Object>> getMyGivingRecords(Long userId, Integer busiType);

    Map<String, Object> receiveGift(Long givingId);
}
